home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / WIN_PRO / DS-1.ZIP;1 / H.ZIP / FDEFS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-02-10  |  2.8 KB  |  194 lines

  1.  
  2. /*
  3.  * Definitions of functions.
  4.  */
  5.  
  6. /*
  7.  * If this is a personalized interpreter, include definitions from the
  8.  *  pi directory.
  9.  */
  10.  
  11. #ifdef PersInterp
  12. #include "../pi/fdefs.h"
  13. #endif                    /* PersInterp */
  14.  
  15. /*
  16.  * These are the functions in the standard repertoire.
  17.  */
  18.  
  19. FncDef(abs,1)
  20. FncDef(any,4)
  21. FncDef(args,1)
  22. FncDef(bal,6)
  23. FncDef(center,3)
  24. FncDef(char,1)
  25. FncDef(chdir,1)
  26. FncDef(close,1)
  27. FncDef(collect,2)
  28. FncDef(copy,1)
  29. FncDef(cset,1)
  30.  
  31. #if UNIX
  32. FncDef(delay,1)
  33. #endif                    /* UNIX */
  34.  
  35. FncDef(delete,2)
  36. FncDefV(detab)
  37. FncDef(display,2)
  38. FncDefV(entab)
  39. FncDef(errorclear,0)
  40. FncDef(exit,1)
  41. FncDef(find,4)
  42. FncDef(flush,1)
  43. FncDef(function,0)
  44. FncDef(get,2)
  45. FncDef(getenv,1)
  46. FncDef(iand,2)
  47. FncDef(icom,1)
  48. FncDef(image,1)
  49. FncDef(insert,3)
  50. FncDef(integer,1)
  51. FncDef(ior,2)
  52. FncDef(ishift,2)
  53. FncDef(ixor,2)
  54. FncDef(key,2)
  55. FncDef(left,3)
  56. FncDef(list,2)
  57. FncDef(many,4)
  58. FncDef(map,3)
  59. FncDef(match,4)
  60. FncDef(member,1)
  61. FncDef(move,1)
  62. FncDef(name,1)
  63. FncDef(numeric,1)
  64.  
  65. FncDef(open,3)
  66.  
  67. FncDef(ord,1)
  68. FncDef(pop,1)
  69. FncDef(pos,1)
  70. FncDef(proc,2)
  71. FncDef(pull,1)
  72. FncDef(push,2)
  73. FncDef(put,1)
  74. FncDef(read,2)
  75. FncDef(reads,2)
  76. FncDef(real,1)
  77. FncDef(remove,2)
  78. FncDef(rename,1)
  79. FncDef(repl,2)
  80. FncDef(reverse,1)
  81. FncDef(right,3)
  82. FncDefV(runerr)
  83. FncDef(seek,2)
  84. FncDef(seq,2)
  85. FncDef(set,1)
  86. FncDef(sort,2)
  87. FncDef(sortf,2)
  88. FncDefV(stop)
  89. FncDef(string,1)
  90. FncDef(tab,1)
  91. FncDef(table,1)
  92. FncDef(trim,2)
  93. FncDef(type,1)
  94. FncDef(upto,4)
  95. FncDef(variable,1)
  96. FncDef(where,1)
  97. FncDefV(write)
  98. FncDefV(writes)
  99.  
  100. /*
  101.  * System function.
  102.  */
  103.  
  104. #ifdef SystemFnc
  105. FncDef(system,1)
  106. #endif                    /* SystemFnc */
  107.  
  108. /*
  109.  * Executable images.
  110.  */
  111.  
  112. #ifdef ExecImages
  113. FncDef(save,1)
  114. #endif                    /* ExecImages */
  115.  
  116. /*
  117.  * External functions.
  118.  */
  119. #ifdef ExternalFunctions
  120. FncDefV(callout)
  121. #endif                    /* ExternalFunctions */
  122.  
  123. /*
  124.  * Math functions.
  125.  */
  126.  
  127. #ifdef MathFncs
  128. FncDef(acos,1)
  129. FncDef(asin,1)
  130. FncDef(atan,2)
  131. FncDef(cos,1)
  132. FncDef(dtor,1)
  133. FncDef(exp,2)
  134. FncDef(log,1)
  135. FncDef(rtod,1)
  136. FncDef(sin,1)
  137. FncDef(sqrt,1)
  138. FncDef(tan,1)
  139. #endif                    /* MathFncs */
  140.  
  141. #ifdef KeyboardFncs
  142. FncDef(getch,0)
  143. FncDef(getche,0)
  144. FncDef(kbhit,0)
  145. #endif                    /* KeyboardFncs */
  146.  
  147. /*
  148.  * Functions for MS-DOS.
  149.  */
  150.  
  151. #ifdef DosFncs
  152. FncDef(Int86,1)
  153. FncDef(Peek,1)
  154. FncDef(Poke,1)
  155. FncDef(GetSpace,1)
  156. FncDef(FreeSpace,1)
  157. FncDef(InPort,1)
  158. FncDef(OutPort,1)
  159. #endif                    /* DosFncs */
  160.  
  161. /*
  162.  * Functions for the Archimedes.
  163.  */
  164.  
  165. #ifdef ArmFncs
  166. FncDef(Swi,2)
  167. FncDef(Peek,2)
  168. FncDef(Poke,2)
  169. FncDef(GetSpace,1)
  170. FncDef(FreeSpace,1)
  171. #endif                    /* ArmFncs */
  172.  
  173. /*
  174.  * Memory monitoring functions.
  175.  */
  176.  
  177. #ifdef MemMon
  178. FncDef(mmout,1)
  179. FncDef(mmpause,1)
  180. FncDef(mmshow,2)
  181. #endif                    /* MemMon */
  182.  
  183. /*
  184.  * Event processing functions.
  185.  */
  186. #ifdef EventMon
  187. FncDef(EvSetup,2)
  188. FncDefV(EvSelect)
  189. FncDef(EvGet,1)
  190. #endif                    /* EventMon */
  191.  
  192.  
  193.  
  194.